﻿/*-----------------------------------------------
// File: LoginCheckVersion.cs
// Description: 
// Author: Shaobing	492057342@qq.com
-----------------------------------------------*/
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using ProtoBuf.Message;

namespace Login
{
    public class LoginActivation : Fsm.FsmStateMonoBase<LoginState>
    {
        //string foreUpdateAddress;
        //string generalUpdateAddress;
        //string resUpdateAddress;
        LoginManager manager
        {
            get { return this.controller as LoginManager; }
        }
        public LoginActivation(LoginState state, LoginManager ctrl) : base(state, ctrl) { }

        public override void Enter()
        {
            GameObject activationPage = GameObject.Instantiate(Resources.Load("Pages/ActivationPage")) as GameObject;
            activationPage.transform.parent = UIAutoSize.Instance.transform;
            activationPage.transform.localScale = Vector3.one;
            activationPage.transform.localPosition = new Vector3(0, 10, 0);
        }

        public override void Leave()
        {
            base.Leave();
        }

    }

}
